<?php
class MetadataFields extends AppModel {
	public function getAlls(){
		$result = $this->getFieldsList();
		$result[] = "all";
		return $result;
	}
	
	public function getFieldsList(){
		return array("journal.TitleNative", "issue", "title", "titlenative", "abstract", "abstractnative", "keyword");
	}
	
	public function getDecodeFields() {
		return array("journal", "issue");
	}
	
	public function getDecodeFieldsArray() {
		return array("authors");
	}
}
?>